<template>
  <div>
    <v-subheader>搜索</v-subheader>
    <form-component :form-data="searchData" :form-config="searchConfig" :form-show="searchShow" form-flag="searchForm">
    </form-component>
  </div>
</template>

<script>
import FormComponent from '../FormCompoent/FormComponent.vue'

export default {
  // 表单主要组件
  name: 'SearchComponent',

  // 引用组件
  components: {
    FormComponent
  },

  // 父组件传递的props
  props: {
    // 显示表单
    searchShow: { type: Boolean, default: true },
    // 表单配置
    searchConfig: { type: Object, default: () => ({}) },
    // 表单数据
    searchData: { type: Object, default: () => ({}) }
  },

  data() {
    return {}
  },

  computed: {},

  created() {},

  mounted() {},

  methods: {}
}
</script>
